package com.example.service;

import com.example.pojo.equTestListPojo;
import com.example.pojo.equipmentManagementPojo;
import com.example.pojo.equipmentTechnologyPojo;

import java.util.List;
import java.util.Map;

/**
 * ClassName:equipmentManagementService
 * Description:
 *
 * @Author 赵永峰
 * @Create 2024/9/22 23:05
 * @Version 1.0
 */
public interface equipmentManagementService {
    //插入一行《工装台账》
    void insertOne(equipmentManagementPojo equipmentManagementPojo);
    //对工装台账的目录进行筛选
    List<equipmentManagementPojo> queryDifferentByOne(Map<String, Object> parameters);
    //根据传来的车间名称、存放位置，查询数据
    List<equipmentManagementPojo> SelectClampData(Map<String, Object> map);
    //根据id，修改一行信息
    void editOne(equipmentManagementPojo equipmentManagementPojo);
    //插入一行数据（工装技术条件）
    void technologyInsertOne(equipmentTechnologyPojo equipmentTechnologyPojo);
    //查询树形导航结构,查询的是存放部位不重复，并且按照要求排序的,接收的是两个字段的字段名称。形成一个树形导航的数组（工装技术条件）
    List<equipmentTechnologyPojo> queryTechnologyDifferentByOne(Map<String, Object> parameters);
    //根据传来的车间名称，存放位置，查询数据（工装技术条件）
    List<equipmentTechnologyPojo> SelectTechnologyData(Map<String, Object> map);
    //根据Id修改数据（工装技术条件）
    void editTechnologyOne(equipmentTechnologyPojo equipmentTechnologyPojo);
    //向工装检测数据中插入一行检测数据
    void equTestInsertOne(equTestListPojo equTestListPojo);
//    查询最后检测的一条数据
    equTestListPojo equLastTimeTest(equTestListPojo equTestListPojo);
}
